const {ipcRenderer, remote} = require('electron');


window.getData = () => {
  return remote.getGlobal("clipboard_data").get();
}

window.changeStatus = (status) => {
  remote.getGlobal("clipboard_data").set({status})
  ipcRenderer.send("clipboard-status-change", status);
}

window.changeRecords = (records) => {
  remote.getGlobal("clipboard_data").set({records})
}

